//
// Copyright (c) 2024 BPer
//
#ifndef SRC_BPERSDP_BPERREDPAYLOAD_H_
#define SRC_BPERSDP_BPERREDPAYLOAD_H_

#include <bpersdp/BPerCodecPayload.h>
typedef struct{

	uint8_t pt;
	// for publish, equals to PT of itself;
	// for subscribe, is the PT of publisher;
	uint8_t pt_of_publisher;
	int32_t channel;
	int32_t sample;
	char name[32];
	char type[16];

	BPerFbsVector rtcp_fbs;
}BPerRedPayload;
void bPer_create_redPayloaddes(BPerRedPayload* red,uint8_t pt, char* encode_name, int32_t sample,int32_t channel);

#endif /* SRC_BPERSDP_BPERREDPAYLOAD_H_ */
